package com.jasonjan.jiance.bean;

import android.os.Parcel;
import android.os.Parcelable;

/**
 * Created by jasonjan on 2018/3/14.
 */

public class LogoutBean implements Parcelable {
    /**
     * code : 200
     * msg : success
     * debugMsg :
     * result : {}
     */

    private String code;
    private String msg;
    private String debugMsg;
    private ResultBean result;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public String getDebugMsg() {
        return debugMsg;
    }

    public void setDebugMsg(String debugMsg) {
        this.debugMsg = debugMsg;
    }

    public ResultBean getResult() {
        return result;
    }

    public void setResult(ResultBean result) {
        this.result = result;
    }

    public static class ResultBean {
    }

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeString(this.code);
        dest.writeString(this.msg);
        dest.writeString(this.debugMsg);
    }

    public LogoutBean() {
    }

    protected LogoutBean(Parcel in) {
        this.code = in.readString();
        this.msg = in.readString();
        this.debugMsg = in.readString();
    }

    public static final Parcelable.Creator<LogoutBean> CREATOR = new Parcelable.Creator<LogoutBean>() {
        @Override
        public LogoutBean createFromParcel(Parcel source) {
            return new LogoutBean(source);
        }

        @Override
        public LogoutBean[] newArray(int size) {
            return new LogoutBean[size];
        }
    };
}
